package ynu.sxp.demoapp.product.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import ynu.sxp.demoapp.common.BaseEntity;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Getter
@Setter
@Table(name = "tag")
public class TagEntity extends BaseEntity {
    @Column(nullable = false)
    private String name;
}
